package com.secxiot.provider.task.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * 任务数据传输
 */
@ApiModel
@NoArgsConstructor
@ToString
@Data
public class TaskDto extends TaskBaseDto implements Serializable {
    private static final long serialVersionUID = 3909436578743466822L;

    @ApiModelProperty(value = "任务提醒时间", required = true)
    private TaskTimeDto taskTimeDto;

    @ApiModelProperty(value = "任务正文", required = true)
    private String content;

    @ApiModelProperty(value = "任务附件集合")
    private List<TaskFileDto> fileIds = Collections.emptyList();

    @ApiModelProperty(value = "接收者id集合", required = true)
    private List<Long> receiverIds = Collections.emptyList();
}
